/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.math.BigDecimal;

/**
 * 电梯故障月份明细表实体类
 *
 * @author zcc
 * @since 2021-07-06
 */
@Data
@TableName("blade_elevator_malfunction_day")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ElevatorMalfunctionday对象", description = "电梯故障天数明细表")
public class ElevatorMalfunctionDay extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 故障累计次数
	*/
		@ApiModelProperty(value = "故障累计次数")
		private Integer malfuntionCounts;
	/**
	* 故障梯数
	*/
		@ApiModelProperty(value = "故障梯数")
		private Integer malElevatorCounts;
	/**
	* 维修部件数量
	*/
		@ApiModelProperty(value = "维修部件数量")
		private Integer checkConCounts;
	/**
	* 维修更换部件数量
	*/
		@ApiModelProperty(value = "维修更换部件数量")
		private Integer checkConChangeCounts;
	/**
	* 维保工时小时单位
	*/
		@ApiModelProperty(value = "维保工时小时单位")
		private BigDecimal maintainHour;
	/**
	* 维修工时
	*/
		@ApiModelProperty(value = "维修工时")
		private BigDecimal malHour;
	/**
	* 平均故障率
	*/
		@ApiModelProperty(value = "平均故障率")
		private BigDecimal avgMal;
	/**
	* 平均可用率
	*/
		@ApiModelProperty(value = "平均可用率")
		private BigDecimal avgUsable;
	/**
	* 电梯ID，为0时作为模板数据
	*/
		@ApiModelProperty(value = "电梯ID，为0时作为模板数据")
		private Long elevatorId;
	/**
	* 单元id
	*/
		@ApiModelProperty(value = "单元id")
		private Long unitId;
	/**
	* 栋或者座ID
	*/
		@ApiModelProperty(value = "栋或者座ID")
		private Long blockId;
	/**
	* 楼盘id
	*/
		@ApiModelProperty(value = "楼盘id")
		private Long buildingId;

		@ApiModelProperty(value = "维修停梯次数")
		private Integer wxStopCounts;

		@ApiModelProperty(value = "维修停梯次数")
		private Integer byStopCounts;

		@ApiModelProperty(value = "困人耗时-小时")
		private BigDecimal krHour;
}
